class Download < ActiveRecord::Base
  attr_accessible :category, :downurl, :filesize, :pubtime, :remark, :status, :title, :version

  scope :open_status, where(:status => 0)

  scope :client, where(:category => 1)
  scope :plugin, where(:category => 2)
  scope :other, where(:category => 3)

end
